body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f3f3f3;
}

.player-container {
    text-align: center;
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    width: 300px;
}

.controls button {
    margin: 5px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

#songTitle {
    margin-top: 15px;
    font-size: 18px;
    color: #ccc;
}

/*#playlist {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

#playlist li {
    padding: 10px;
    background: #444;
    margin: 5px 0;
    cursor: pointer;
    color: #fff;
    border-radius: 5px;
    transition: background 0.3s;
}

#playlist li:hover {
    background: #555;
}*/

/* 播放列表样式 */
ul#playlist {
    list-style-type: none;
    padding: 0;
    max-height: 200px; /* 设置最大高度 */
    overflow-y: auto; /* 允许垂直滚动 */
    border: 1px solid #ddd; /* 可选，增加边框 */
    margin: 0; /* 移除默认 margin */
}

ul#playlist li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

ul#playlist li:hover {
    background-color: #f0f0f0;
}
